package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 试题信息实体类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/2/5</td>
 * <td>dongjinlin</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author dongjinlin
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@TableName(value = "ASSISTANT_EXAMINATION_PAPER_EXAMINATION_QUESTIONS_MAP")
public class ExaminationPaperExaminationQuestionsMap implements Serializable {

	/** 成员变量：TODO 在这里请添加变量serialVersionUID的描述 */
	private static final long serialVersionUID = 2961802519900352119L;
	/**
	 * 试题试卷对应关系id
	 */
	@TableId(value = "EXAMINATION_PAPER_EXAMINATION_QUESTIONS_MAP_ID", type = IdType.ASSIGN_UUID)
	private String examinationPaperExaminationQuestionsMapId;
	
	/**
	 * 试题id
	 */
	@TableField(value = "EXAMINATION_QUESTIONS_ID")
	private String examinationQuestionsId;

	/**
	 * 试卷ID
	 */
	@TableField(value = "EXAMINATION_PAPER_ID")
	private String examinationPaperId;

	/**
	 * 创建用户ID
	 */
	@TableField(value = "CREATE_USER_ID")
	private String createUserId;
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CREATE_TIME")
	private Date createTime;
	/**
	 * 修改用户ID
	 */
	@TableField(value = "UPDATE_USER_ID")
	private String updateUserId;
	/**
	 * 修改时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "UPDATE_TIME")
	private Date updateTime;

	/**
	 * 备注
	 */
	@TableField(value = "MEMO")
	private String memo;

}
